/* jshint esversion: 6 */
import React, {Component} from "react";

import { List } from 'antd-mobile'


import {Block} from "../../../components/block/Block";

import {
    UnorderedListOutline,
    PayCircleOutline,
    SetOutline, UserCircleOutline,
} from 'antd-mobile-icons'
import {withRouter} from "react-router";
import {PRIVATE_ROUTE} from "../../../route.constants";
class Me extends Component {

    constructor(props) {

        super(props);

        this.state={};

    }


    componentDidMount() {

    }







    render() {
        return (
            <>

                <Block title={''}>
                    <List>
                        <List.Item prefix={<UserCircleOutline />} onClick={() => {this.props.history.push(PRIVATE_ROUTE.ME_PROFILE)}}>
                            个人资料
                        </List.Item>

                        <List.Item prefix={<SetOutline />} onClick={() => {this.props.history.push(PRIVATE_ROUTE.ME_SETTINGS)}}>
                            设置
                        </List.Item>
                    </List>
                </Block>
            </>
        );
    }
}
export default withRouter(Me)